package com.infoauto.opc.gateway.dao;

import com.infoauto.opc.gateway.model.gtm4.HangBlow;
import com.infoauto.opc.gateway.model.gtm4.Spray;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 喷房
 */
public interface SprayDao {
    int insert(Spray spray);

    int update(Spray spray);

    List<Spray> selectByProducTionTimeAndShift(@Param("productionTime") String productionTime,@Param("shift") Integer shift);

    Spray select(@Param("productionTime") String productionTime, @Param("shift") Integer shift,@Param("sn") Integer sn);

    Spray selectById(@Param("id") String id);
}
